<div class="container">
    <div *ngIf="query">
      <goods-list #goodsList [showType]="1" [rowClass]="'row mg-b-15'" [colClass]="'col-md-3 col-sm-4 col-xs-6'" [colInRow]="4" [PageSize]="12" [PageNo]="currentPage" [Cat]=""
        [query]="query"></goods-list>
  
        <div class="pages text-center">
            <pagination [(ngModel)]="curPageNum" [previousText]="'&laquo;'" [nextText]="'&raquo;'" [itemsPerPage]="12"  [rotate]="false" (numPages)="numPages = $event" [maxSize]="5" (pageChanged)="pageChanged($event)" [totalItems]="goodsList.totalPages*12"></pagination>
        </div>
    </div>
  
  </div>